package com.educatioin.manage.web.system.repository;

import com.educatioin.manage.web.system.po.UserPo;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.data.rest.core.annotation.RepositoryRestResource;

@RepositoryRestResource(collectionResourceRel = "userRepository", path = "userRepository")
public interface UserRepository extends PagingAndSortingRepository<UserPo, Long> {

    Page<UserPo> findByUsernameLike(String username, Pageable var1);

    UserPo findByUsername(String username);
}
